<?php 
require 'usermodel.php';
require 'controller.php';
class usercontroller extends controller
{
	function listusers()
	{
		$data = array(
	array('username'=>'edward','geder'=>'man'),
	array('username'=>'mark','geder'=>'man'),
	array('username'=>'rose','geder'=>'woman'));
		$model= new usermodel();
		$data= $model->getuserlist();
		 return $data;
	}
}

 ?>